package com.truthbean.jeetb.utils.web.invoker;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

/**
 * Created by truth on 16-12-1.
 */
public interface Invoker {
    String PW = "ninty"; //password
    String PW_SESSION_ATTRIBUTE = "JspSpyPwd";
    String REQUEST_CHARSET = "ISO-8859-1";
    String PAGE_CHARSET = "UTF-8";
    String CURRENT_DIR = "currentdir";
    String MSG = "SHOWMSG";
    String PORT_MAP = "PMSA";
    String DBO = "DBO";

    void invoke(HttpServletRequest request, HttpServletResponse response, HttpSession session);

    boolean doBefore();

    boolean doAfter();
}
